package com.ttdev.ss;

import java.rmi.RemoteException;

import com.ttdev.ss.SimpleServiceStub.ConcatRequest;

public class TestService {

	/**
	 * @param args
	 * @throws RemoteException 
	 */
	public static void main(String[] args) throws RemoteException {

		SimpleServiceStub service = new SimpleServiceStub("http://localhost:1234/axis2/services/SimpleService");
		
		ConcatRequest req = new ConcatRequest();
		req.setS1("Good ");
		req.setS2("Evening");
		System.out.println(service.concat(req).getConcatResponse());	
		
	}

}
